package org.gp953.pay.constants;

public class Payconsts {

    // 业务类型
    public static String BUSINESS_TYPE_ADOPT = "business_type_adopt";//领养
    public static String BUSINESS_TYPE_ACQUISITION = "business_type_acquisition";//收购
    public static String BUSINESS_TYPE_PRODUCT = "business_type_product";//服务
    public static String BUSINESS_TYPE_RECHARGE = "business_type_recharge";//充值
    public static String BUSINESS_TYPE_GOODS = "business_type_goods";//商品购买

    // 支付状态 0待支付 1 已支付 -1 取消
    // 待支付
    public static Integer PAY_STATE_TOBEPAID = 0;
    // 已支付
    public static Integer PAY_STATE_PAID = 1;
    // 取消
    public static Integer PAY_STATE_CANCEL = -1;

    // 支付方式 0 余额支付 1 支付宝 2 微信支付 3 银联
    public static Integer PAY_METHOD_BALANCEPAYMENT = 0;
    public static Integer PAY_METHOD_ALIPAY = 1;
    public static Integer PAY_METHOD_WECHATPAY = 2;
    public static Integer PAY_METHOD_UNIONPAY = 3;

    // 支付账单超时取消常量
    public static Long PAY_TIME_OUT =  2 *60 *1000L;
}
